/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.calendarplan;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.calendarplan.Calendarplan;

/**
 * @author Administrator (email:357375084@qq.com)
 * @since 2013-02-27
 */
public interface CalendarplanService {

    /****************************************
     * Insert a instace of Calendarplan
     ****************************************/
    void insert(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Insert instaces of Calendarplan
     ****************************************/
    void batchInsert(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Delete a instace of Calendarplan
     ****************************************/
    void delete(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Delete instaces of Calendarplan
     ****************************************/
    void batchDelete(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Update a instace of Calendarplan
     ****************************************/
    void update(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Query instaces of Calendarplan
     ****************************************/
    List<BaseModel> queryAsList(Calendarplan calendarplan) throws Exception;

    /****************************************
     * Query a instaces of Calendarplan
     ****************************************/
    BaseModel queryAsObject(Calendarplan calendarplan) throws Exception;
}
